import hashlib
from hmac import new

#生成陷门
def HmacBack(msg,key):
    m = new(key, msg, hashlib.sha256)
    return m.digest()
